<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>{dede:global name='keyword' function='RemoveXSS(@me)'/}-搜索结果-{dede:global.cfg_webname/}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
<link href="{dede:global.mcfg_basehost/}/m-css/m-index.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="{dede:global.mcfg_basehost/}/m-js/jquery.js"></script>
<style type="text/css">
.wrapper{padding-bottom:0;}
.jjweixinBtn{position:fixed;right:15px;bottom:150px;width:40px;height:40px;background:#fff url({dede:global.mcfg_basehost/}/m-images/list-fanhui.png) center no-repeat;background-size:25px 25px;border-radius:50%;box-shadow:0px 5px 11px 0px rgba(0,0,0,0.07);opacity:0.7;display:none;}
.search_count{background:#fff;padding:15px 15px 0;font-size:14px;}
.ysearch-box{padding:0 15px 0 15px;border-bottom:none;height:auto;}
.ysearch-box .fixsbmt{top:67px;}
.ysearch-box .yfixtext{margin-top:0;border-radius:8px;}

/*无内容时显示*/
.gzs-wushuju{display:none;}
.gzs-wushuju img{width:100px;height:100%;margin:0 auto;display:block;}
.gzs-wushuju .wu-title{text-align:center;font-size:14px;color:#757575;padding-top:10px;}

/*列表分页*/
#showpage_min{padding:30px 15px;overflow:hidden;}
#showpage_min a{background-color:#fff;font-size:13px;display:inline-block;height:28px;line-height:28px;border:1px solid #eee;color:#666;padding:0 10px;margin-bottom:10px;border-radius:5px;}
#showpage_min .cpage{font-size:14px;display:inline-block;height:28px;line-height:28px;border:1px solid #ff700a;color:#fff;background-color:#ff700a;padding:0 10px;margin-bottom:10px;border-radius:5px;}

.m-index-logo{width:80px;height:40px;background:url({dede:global.mcfg_basehost/}/m-images/logo.png) no-repeat;background-size:80px 40px;margin:5px 15px;display:inline-block;}
.gzs-ke-login{float:right;line-height:50px;padding:0 15px;font-size:14px;}
.m-header{width:100%;background:#fff;border-bottom:1px solid #f5f5f5;padding-bottom:10px;position:relative;}
.m-header .m-search-index{height:40px;line-height:40px;margin:0 15px;display:block;border-radius:8px;color:#999;font-size:14px;padding-left:10px;border:1px solid #a7a7a7;}
.m-header .m-search-index:before{background:url({dede:global.mcfg_basehost/}/m-images/index-search-top.png) no-repeat;background-size:15px auto;}
.m-header .m-search-index:before{width:15px;height:15px;content:"";display:inline-block;margin:-3px 5px 0 0;vertical-align:middle;}
.sign-box .register{position:absolute;right:15px;top:17px;background:#f7d0c2;color:#de4a0e;line-height:26px;display:inline-block;padding:0 13px;border-radius:13px;}
.sign-box .register-img{position:absolute;right:15px;top:14px;}
.sign-box .register-img img{width:35px;height:35px;display:block;border-radius:50%;}
</style>
<script type="text/javascript">
function checkSearchForm(){
if(document.getElementById('search').value){
return true;
}else{
alert("请输入关键字");
return false;
}
}
</script>
</head>
<body>
<div class="wrapper">

<!-- TOP -->
<div class="m-header">
<a href="{dede:global.mcfg_basehost/}/" class="m-index-logo"></a>
<a href="{dede:global.mcfg_basehost/}/user/" class="gzs-ke-login">个人中心</a>
<div class="ysearch-box">
<form method="post" name="f1" action="{dede:global.mcfg_basehost/}/search.php" onsubmit="return checkSearchForm()">
<input type="hidden" name="kwtype" value="0" />
<input type="hidden" id="driverId" name="channeltype" value="17" />  
<input type="search" class="yfixtext" id="search" name="keyword" placeholder="{dede:global name='keyword' function='RemoveXSS(@me)'/}" autocomplete="off">
<input type="submit" class="fixsbmt" value="">
</form>
</div>
</div>
<!-- TOP End -->

<!-- 搜索结果 -->
<div class="m-header-video">
<div class="search_count">共找到<span style="color:#f30"> {dede:itemcount listsize='4'/} </span>个包含"<span style="color:#f30">{dede:global name='keyword' function='RemoveXSS(@me)'/}</span>"内容</div>
<div class="gzs-wushuju" style="background:#fff;"><img src="{dede:global.mcfg_basehost/}/m-images/kc-wu-dd.png"><p class="wu-title">~搜不到你找的内容哟~</p></div>
<ul class="content_list m-kc-dd-list">
{dede:list pagesize='10'}
<li class="content_item">
<a href="[field:global.mcfg_basehost/][field:array function='GetTypeDeurlformarr(@me)'/]" class="link">
<img src="[field:bigpic function='mstrone(@me)'/]">
<div class="main_title_box">
<div class="main_title">[field:typename/]</div>
<div class="sub_title">
[field:array runphp='yes']
global $cfg_dazhe,$cfg_zhekou,$cfg_dqtime;
$oprice = @me['price'];
$time = time();
$timestamp = strtotime($cfg_dqtime);
if(!empty($oprice))
{
if($cfg_dazhe == 'Y' && $timestamp > $time)
{
$dzprice = $oprice / 100 * $cfg_zhekou;
@me = "<span class=\"price\"><i>￥</i>{$dzprice} <small>￥{$oprice}</small></span>";}
else{
@me = "<span class=\"price\"><i>￥</i>{$oprice}</span>";}
}else{
@me = "<span class=\"ke-mianfei\">免费</span>";}
[/field:array]
<span class="item_right fr">[field:id function="JJgetCliak(@me)"/]次学习</span>
</div>
</div>
</a>
</li>
{/dede:list}
</ul>
<!-- 分页 -->
<div id="showpage_min">{dede:pagelist listitem="pre,next,pageno" listsize="2"/}</div>
<!-- 分页 End -->
</div>
<!-- 搜索结果 End -->


</div>


<!-- 返回上一页 -->
<a href="javascript:history.go(-1);" class="jjweixinBtn"></a>
<!-- 返回上一页 End -->

<script> 
var wx= (function(){
return navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1
}
)();    
if(wx){
$(".jjweixinBtn").show();
}
</script>

<script>
if($(".content_item").length < 1 ){ 
$(".gzs-wushuju").show();
}
</script>

</body>
</html>